package com.dailyblue.project.estate.repair.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dailyblue.project.estate.commons.bean.Repair;
import com.dailyblue.project.estate.commons.util.JsonResult;
import org.springframework.stereotype.Service;

@Service
public interface RepairService extends IService<Repair> {
    //添加维修
    JsonResult addRepair(Repair repair);
    //查询维修
    JsonResult findOneRepair(String repairId);
    //查询所有维修
    JsonResult findAllRepairs();
    //删除维修
    JsonResult deleteRepair(String repairId);
    //修改维修
    JsonResult updateRepair(Repair repair);
}
